package cn.wolfcode.mapper;

import cn.wolfcode.domain.Business;
import cn.wolfcode.qo.BusinessQueryObject;
import cn.wolfcode.qo.QueryObject;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface BusinessMapper {
    void deleteByPrimaryKey(Long id);

    void insert(Business record);

    Business selectByPrimaryKey(Long id);

    List<Business> selectAll();

    void updateByPrimaryKey(Business record);

    List<Business> queryAll(@Param("qo") BusinessQueryObject qo);

    Business selectByMain();
}